package com.itheima.annotationdemo1;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.TYPE})     // 指定注解作用在方法、类上
@Retention(RetentionPolicy.RUNTIME)     // 保留到运行时
public @interface MyTest2 {
    String value();
    double height() default 1.65;
    String[] address();
}
